package com.edu.atmSystem;

public class Account {
    //ATM系统的账户实体类
    private String cardId;//卡号
    private String name;//用户名
    private String password;//密码
    private double balance;//余额
    private double enbalance;//取现额度

    public Account() {
    }

    public Account(String cardId, String name, String password, double balance, double enbalance) {
        this.cardId = cardId;
        this.name = name;
        this.password = password;
        this.balance = balance;
        this.enbalance = enbalance;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    public double getEnbalance() {
        return enbalance;
    }

    public void setEnbalance(double enbalance) {
        this.enbalance = enbalance;
    }
}
